package com.jumi.microservice.constant.refundgoods;

import com.jumi.microservice.common.base.dto.AbstractEnum;

/**
 * @author Scw
 * @Date 2020-08-20 10:42
 */
public enum AfterSaleReasonEnum implements AbstractEnum {
    //售后原因
    AFTER_SALE_REASON_LOSE(1, "快递丢件"),
    AFTER_SALE_REASON_DAMAGED(2, "包装破损"),
    AFTER_SALE_REASON_MISSED(3, "仓库漏发"),
    AFTER_SALE_REASON_OTHER(4, "其它");

    private Integer code;
    private String desc;

    AfterSaleReasonEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}